﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WordService.Model
{
    /// <summary>
    /// 机构模型
    /// </summary>
    public sealed class Institution
    {
        private Int64 _ID;
        /// <summary>
        /// 机构对应的ID号
        /// </summary>
        public Int64 ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private String _Name;
        /// <summary>
        /// 机构名称
        /// </summary>
        public String Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        private Article _Article;
        /// <summary>
        /// 该机构对应的文章
        /// </summary>
        public Article Article
        {
            get { return _Article; }
            set { _Article = value; }
        }

        private Int32 _Sequence;
        /// <summary>
        /// 机构的顺序
        /// </summary>
        public Int32 Sequence
        {
            get { return _Sequence; }
            set { _Sequence = value; }
        }
        private IList<Author> _Authors;
        /// <summary>
        /// 机构对应的作者集合
        /// </summary>
        public IList<Author> Authors
        {
            get { return _Authors; }
            set { _Authors = value; }
        }
    }
}
